//
// CuisineLink.hpp for  in /home/lund/Projets/pizzaillo
// 
// Made by florian dewulf
// Login   <dewulf_f@epitech.net>
// 
// Started on  Wed Apr 17 09:42:21 2013 florian dewulf
// Last update Wed Apr 17 10:09:04 2013 florian dewulf
//

#ifndef		CUISINELINK_HPP_
# define	CUISINELINK_HPP_

#include	<iostream>
#include	<string>

class		CuisineLink
{
public:
  CuisineLink();
  virtual	~CuisineLink();

public:
  void		sendAlive();
  void		sendCmd();

public:
  std::string	getMsg() const;
  void		setCmd(const std::string &);

private:
  void		rcvAnswer();

private:
  bool		_alive;
  Fifo		_read;
  Fifo		_write;
  std::string	_cmd;
  std::string	_msg;
};


#endif
